home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- function rem(flag, obj)
- {
- if(flag == 1)
- {
- _root.level_arrows -= 100;
- _root.hearts_beat = 0;
- this._visible = false;
- this.active = false;
- this.active = false;
- this.gotoAndPlay(2);
- i = 0;
- while(i < _root.stage_objects.length)
- {
- if(_root.stage_objects[i] == this._name)
- {
- _root.todel_objects.push[i];
- }
- i++;
- }
- _root.bullet.vector.x = 0;
- _root.bullet.vector.y = 0;
- _root.gravity = 0;
- _root.bullet.gotoAndPlay(2);
- }
- else if(flag == 2)
- {
- this.active = false;
- this.gotoAndPlay(2);
- _root[obj].speed = 0;
- _root[obj].active = false;
- _root[obj].gotoAndPlay(2);
- }
- _root.boom(_X,_Y,colour);
- }
- move_x = _X;
- move_y = _Y;
- move_direction = 1;
- c_path = move_path;
- colour = "blackk";
- active = true;
- gotoAndStop(colour);
- _root.stage_objects.push(this._name);
- }
-